<%@page import="com.hhit.collaborative_learning.entity.QuestionPage"%>
<%@page
	import="com.hhit.collaborative_learning.dao.impl.PublicDaoImplMySql"%>
<%@ page contentType="text/html; charset=utf-8" language="java"
	import="java.sql.*" errorPage=""%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page isELIgnored="false"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String questionId=request.getParameter("questionId");
	questionId=questionId==null?"":questionId;
%>

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link href="<%=basePath%>css/bootstrap.css" media="all" rel="stylesheet" />
<link href="<%=basePath%>css/avatar.css" media="all" rel="stylesheet" />
<link href="<%=basePath%>css/btn.css" media="all" rel="stylesheet" />
<link href="<%=basePath%>css/icon.css" media="all" rel="stylesheet" />
<link href="<%=basePath%>css/pagination.css" media="all"
	rel="stylesheet" />
<link href="<%=basePath%>css/index.css" media="all" rel="stylesheet" />
<link type="text/css" rel="Stylesheet" href="<%=basePath%>css/main.css" />
<link type='text/css' rel='Stylesheet' href='<%=basePath%>css/write.css' />
<link href="<%=basePath%>css/mini.css" media="all" rel="stylesheet" />
<link href="<%=basePath%>css/font-awesome.min.css" media="screen"
	rel="stylesheet" />
<!-- [if IE 7]-->
<link href="<%=basePath%>css/font-awesome-ie7.min.css" media="screen"
	rel="stylesheet" />
<link href="<%=basePath%>css/common-ask.css" media="screen"
	rel="stylesheet" />
<!-- <link href="<%=basePath%>css/ask_float_block-ask.css" media="screen" -->
<!-- 	rel="stylesheet" /> -->
<link href="<%=basePath%>css/editor-ask.css" media="screen"
	rel="stylesheet" />
<script type="text/javascript" src="<%=basePath%>js/jquery.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery.cookie.js"></script>
<script type="text/javascript" src="<%=basePath%>js/csdn.js"></script>
<script type='text/javascript' src='<%=basePath%>js/ask_question.js'></script>
<script type='text/javascript'
	src='<%=basePath%>js/jquery.autocomplete.min.js'></script>
<script type='text/javascript' src='<%=basePath%>js/xheditor.js'></script>
<script type="text/javascript"
	src='<%=basePath%>js/xheditor_lang/zh-cn.js'></script>
<link type='text/css' rel='Stylesheet'
	href='<%=basePath%>css/jquery.autocomplete.css' />

<!-- <script src="<%=basePath%>js/application.js"></script> -->
<!-- <script type="text/javascript"> -->
<!-- 	var myp = { -->
<!-- 		mp : "", -->
<!-- 		mfun : fillSec -->
<!-- 	}; -->
<!-- 	function fillSec(pm) { -->
<!-- 		alert(pm); -->
<!-- 	}; -->
<!-- 	document.domain = "csdn.net"; -->
<!-- </script> -->

<!-- <script src="<%=basePath%>js/bootstrap.min.js"></script> -->
<!-- [if lt IE 9]-->
<!-- <script src="<%=basePath%>js/html5shiv.min.js"></script> -->
<!-- [endif]-->
<script type="text/javascript">
	// 	var username = 'u013534446';
	// 	var oper_username = 'u013534446';
	// 	document.domain = "csdn.net";
	var utag2=[];
</script>

</head>
<body id='questions-index'>
<input type="hidden" id="questionId" value="<%=questionId%>"/>
	<div class="main clearfix">
		<div style="margin-bottom: 10px;"></div>

		<div class="persional_property">
			<div class="second_nav_con">
				<dl class="second_nav">
					<dd>
						<a href="<%=basePath%>questions/questions.jsp" target="_top">全部问答</a>
					</dd>
					<dd class="">
						<a href="<%=basePath%>questions/myquestion.jsp">我的问答</a>
					</dd>
					<dd class="active">
						<a href="<%=basePath%>questions/askquestion.jsp">我要提问</a>
					</dd>
					<dd class="">
						<a href="<%=basePath%>questions/search.jsp?type=4" target="_blank">搜索</a>
					</dd>
				</dl>
			</div>
		</div>


		<link href="<%=basePath%>css/ask_index_A.css" media="screen"
			rel="stylesheet" />
		<link href="<%=basePath%>css/hot_tag.css" media="screen"
			rel="stylesheet" />

		<div class="persion_section">
			<div class="common_con clearfix">
				<div class="pop_edit ask_second comm_ask_second"
					style="display: block; opacity: 1;">
					<!-- 				<h3>提问</h3> -->
					<!-- 				<a href="#" nodetype="close" class="close">×</a> -->
					<div class="context"
						style="padding: 0 20px 10px;font-size: 16px;color: #333;margin-top: 10px">
						<div class="err_div" style="display: none;width: 100%;border: 1px solid #ffdada;margin-bottom: 5px;height: 28px;">
							<span class="err_ico" style="background: url(<%=basePath%>css/images/ph_pop_err_icon.png) no-repeat 0px 0px;margin-top: 6px;margin-right: 10px;margin-left: 5px;width: 16px;height: 16px;display: inline-block;float: left;"></span>
							<span class="err_txt" style="font-size: 12px;color: #b74d46;height: 16px;display: inline-block;margin-top: 2px;float: left;"></span>
						</div>
						<div class="input_div"
							style="width: 100%;height: 35px;margin-right: 20px;margin-bottom: 10px;">
							<input id="title" type="text"
								style="font-size:14px;box-sizing: border-box;color: #656565;width: 100%;height: 35px;border: 1px solid #dcdcdc;text-indent: 5px;"
								placeholder="问题标题">
						</div>
						<textarea id="editor" rows="8" name="editor"
							style="font-size:16px;resize:none;box-sizing: border-box;color: #656565;width: 100%;height: 350px;border: 1px solid #dcdcdc;text-indent: 5px;"></textarea>
						<p class="subtit" style="margin:6px 0px;font-weight:normal;margin-top:15px;">
							问题标签（添加Tag，你的内容能被更多人看到）
						</p>
						<div style="position:relative;">
						<div id="d_tag2"></div>
						<input type="text" id="txtTag2" style="width: 100%;height: 35px;font-size: 14px;padding: 0 5px;float: left;border: 1px solid #dcdcdc;"/>
						<div id="tag2box" style="display:none;"></div>
						</div>
						<div class="success"
							style="margin-top:65px;border-top: 1px solid #f0f0f0;text-align: right;padding: 15px 0 20px 0;padding-right: 20px;">
							<div class="left_area"
								style="display: inline-block;margin-left: 20px;float: left; ">
								<input id="chk_cb" type="checkbox"
									style="vertical-align: middle;"><span class="wyxs"
									style="vertical-align: middle;font-size: 14px;color: #666;margin-right: 10px;margin-left: 10px;">我要悬赏</span><input
									id="cb_num" class="cb_num" readonly="readonly"
									style="vertical-align: middle;width: 157px;line-height: 23px;border: 1px solid #dcdcdc;"><span
									class="phib_rii"
									style="vertical-align: middle;text-align: left;margin-left: 10px;width: 183px;height: 20px;display: inline-block;color: #f9bf47;"><span
									style="display: inline-block;height: 25px;margin-top: 0px;line-height: 21px;vertical-align: middle;">积分</span></span>
							</div>
							<a href="#" nodetype="cancel" id="cancel"
								style="display: inline-block;zoom: 1;width: 80px;height: 28px;line-height: 28px;text-align: center;color: #fff;text-decoration: none;margin-left: 10px;font-size: 14px;background: #999;">取消</a><a
								href="#" nodetype="ok" id="ok"
								style="display: inline-block;zoom: 1;width: 80px;height: 28px;line-height: 28px;text-align: center;color: #fff;text-decoration: none;margin-left: 10px;font-size: 14px;background: #be0000;">发布</a>
						</div>
					</div>
				</div>
			</div>

		</div>
		<div id="popup_mask" class="marker"></div>
		<div id="pop_win"
			style="position: absolute;background: none repeat scroll 0 0 #FFFFFF;z-index: 10000;border: 1px solid #DCDCDC;"></div>
</body>
</html>

